//
//  EJSSegmentedControl.h
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2017/12/14.
//  Copyright © 2017年 lifayu. All rights reserved.
//

#import <UIKit/UIKit.h>
@class EJSSegmentedControl;

@protocol EJSSegmentedControlDelegate <NSObject>

@required
- (void)segmentedControl:(EJSSegmentedControl *)segmentedControl selectItemAtIndex:(NSUInteger)selectedIndex;

@end


@interface EJSSegmentedControl : UIView

@property (strong, nonatomic) NSArray *categoryTitles;//分类名称

@property (assign, nonatomic) NSUInteger selectedIndex;

@property (weak, nonatomic) id<EJSSegmentedControlDelegate> delegate;

@end
